﻿using AutoMapper;
using DearlerPlatform.Domain;
using DearlerPlatfrom.Service.ProductApp.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DearlerPlatfrom.Service.Common
{
    public class DearlerPlatfromProfile : Profile
    {
        public DearlerPlatfromProfile()
        {
            CreateMap<Product, ProductDto>(MemberList.None).ReverseMap();
            CreateMap<ProductPhoto, ProductDto>(MemberList.None).ReverseMap();
            CreateMap<ProductSale, ProductDto>(MemberList.None).ReverseMap();
            CreateMap<ProductSaleAreaDiff, ProductDto>(MemberList.None).ReverseMap();
        }
    }
}
